﻿window.lang = new jquery_lang_js();
$().ready(function () {
    window.lang.run();

    $('.masterMenu_fn').hover(function () {
        $($(this).find('ul.hidden')[0]).css({ opacity: 0.0, visibility: "visible" }).animate({ opacity: 1.0 })
    },
                function () { $($(this).find('ul.hidden')[0]).css({ opacity: 1.0, visibility: "hidden" }).animate({ opacity: 0.0 }) }
                   );

    $('.searchBtn_fn').click(function () {
        var key = $.trim($('.searchKey_fn').val());
        if (key != '')
            window.location.replace("ProductSearch.aspx?key=" + key);
    })
});